﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Kunde/WebsiteCustomer.master" AutoEventWireup="true" CodeBehind="Daeklog.aspx.cs" Inherits="TireService.Website.Kunde.Daeklog" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dxwgv" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.12.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">

    <h3>Dækmønster log</h3>

    <dxwgv:ASPxGridView ID="gvTireSetLog" runat="server" ClientInstanceName="gvTireSetLog" 
        KeyFieldName="TireSetLogId" Width="100%" AutoGenerateColumns="False" EnableCallBacks="True" 
        oncustomunboundcolumndata="gvTireSetLog_CustomUnboundColumnData">
        <SettingsLoadingPanel Text="Henter&amp;hellip;" />
        <SettingsText EmptyDataRow="Ingen data på dækmønster endnu" />
        <Settings ShowHeaderFilterButton="false" ShowGroupPanel="false" ShowFilterRow="false" />
        <SettingsPager AlwaysShowPager="False" PageSize="10" Position="Bottom">
            <Summary 
                AllPagesText="Sider: {0} - {1} ({2} dækmønster log)" 
                Text="Side {0} af {1} ({2} dækmønster log)" />
        </SettingsPager>
        <SettingsBehavior ConfirmDelete="True" AllowGroup="false" AllowDragDrop="true" />
                            
        <Columns>
            <dxwgv:GridViewDataColumn FieldName="TireSetLogId" VisibleIndex="2" Caption="LogId" Visible="false">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataColumn FieldName="TireSetId" VisibleIndex="3" Visible="false" Caption="TireSetId">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataColumn FieldName="LogDate" VisibleIndex="4" Caption="Dato">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataColumn FieldName="FromTireSetStatusId" VisibleIndex="7" Caption="FromTireSetStatusId" Visible="false">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataTextColumn FieldName="FromTireSetStatusDescription" VisibleIndex="8" UnboundType="String" Caption="Fra status">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataColumn FieldName="ToTireSetStatusId" VisibleIndex="7" Caption="FromTireSetStatusId" Visible="false">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataTextColumn FieldName="ToTireSetStatusDescription" VisibleIndex="8" UnboundType="String" Caption="Til status">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataColumn FieldName="LeftFrontTirePattern" VisibleIndex="9" Caption="V.F mønster">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataColumn FieldName="RightFrontTirePattern" VisibleIndex="9" Caption="H.F mønster">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataColumn FieldName="LeftRearTirePattern" VisibleIndex="9" Caption="V.B mønster">
            </dxwgv:GridViewDataColumn>
            <dxwgv:GridViewDataColumn FieldName="RightRearTirePattern" VisibleIndex="9" Caption="H.B mønster">
            </dxwgv:GridViewDataColumn>
        </Columns>
    </dxwgv:ASPxGridView>

</asp:Content>
